package rocket.client;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import javax.swing.JRadioButton;
import javax.swing.ImageIcon;

public class ClientCreatePokemon extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Create the panel.
	 */
	public ClientCreatePokemon() {
		setLayout(null);

		ImagePanel panel = new ImagePanel(new ImageIcon("/rocket/images/pokemonBackground.png").getImage());
		panel.setBounds(0, 0, 800, 600);
		add(panel);
		/*
		JLabel label = new JLabel("");
		label.setIcon(new ImageIcon(ClientCreatePokemon.class.getResource("/rocket/images/pokemonBackground.png")));
		label.setBounds(0, 0, 801, 601);
		add(label);
		*/
		JButton button = new JButton("Back");
		button.setBounds(55, 500, 117, 25);
		add(button);
		
		JButton button_1 = new JButton("Logout");
		button_1.setBounds(55, 550, 117, 25);
		add(button_1);
		
		JLabel lblCreateUser = new JLabel("Create Pokémon");
		lblCreateUser.setFont(new Font("Dialog", Font.BOLD, 20));
		lblCreateUser.setBounds(316, 12, 169, 25);
		add(lblCreateUser);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(405, 80, 150, 25);
		add(comboBox);
		
		JLabel lblSelectType = new JLabel("Select Type");
		lblSelectType.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectType.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectType.setBounds(246, 84, 100, 15);
		add(lblSelectType);
		
		JLabel lblSelectName = new JLabel("Enter Name");
		lblSelectName.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectName.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectName.setBounds(246, 185, 100, 15);
		add(lblSelectName);
		
		JLabel lblEnterId = new JLabel("Enter ID");
		lblEnterId.setHorizontalAlignment(SwingConstants.RIGHT);
		lblEnterId.setFont(new Font("Dialog", Font.BOLD, 15));
		lblEnterId.setBounds(246, 235, 100, 15);
		add(lblEnterId);
		
		JLabel lblSelectCity = new JLabel("Select City");
		lblSelectCity.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectCity.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectCity.setBounds(196, 134, 150, 15);
		add(lblSelectCity);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(405, 130, 150, 25);
		add(comboBox_1);
		
		textField = new JTextField();
		textField.setFont(new Font("Dialog", Font.PLAIN, 15));
		textField.setBounds(405, 180, 150, 25);
		add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setFont(new Font("Dialog", Font.PLAIN, 15));
		textField_1.setColumns(10);
		textField_1.setBounds(405, 230, 150, 25);
		add(textField_1);
		
		JButton btnSubmit = new JButton("Submit");
		btnSubmit.setBounds(327, 428, 107, 25);
		add(btnSubmit);
		
		JLabel lblSelectGender = new JLabel("Select Gender");
		lblSelectGender.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectGender.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectGender.setBounds(196, 283, 150, 15);
		add(lblSelectGender);
		
		JRadioButton rdbtnMale = new JRadioButton("Male");
		rdbtnMale.setBounds(405, 280, 54, 23);
		add(rdbtnMale);
		
		JRadioButton rdbtnFemale = new JRadioButton("Female");
		rdbtnFemale.setBounds(486, 280, 69, 23);
		add(rdbtnFemale);
		
		JLabel lblSelectBirthdate = new JLabel("Select Birthdate");
		lblSelectBirthdate.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSelectBirthdate.setFont(new Font("Dialog", Font.BOLD, 15));
		lblSelectBirthdate.setBounds(196, 334, 150, 15);
		add(lblSelectBirthdate);
		
		JComboBox comboBox_2 = new JComboBox();
		comboBox_2.setBounds(405, 330, 50, 25);
		add(comboBox_2);
		
		JComboBox comboBox_3 = new JComboBox();
		comboBox_3.setBounds(469, 330, 50, 25);
		add(comboBox_3);
		
		JComboBox comboBox_4 = new JComboBox();
		comboBox_4.setBounds(531, 330, 76, 25);
		add(comboBox_4);

	}
}
